package com.microservice.provider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.microservice.provider.mapper")
@EntityScan(basePackages = "com.microservice.provider.entity")
public class MicroserviceProviderApplication {
    public static void main( String[] args ) {
        SpringApplication.run(MicroserviceProviderApplication.class, args);
    }
}
